package pack1;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.internal.seleniumemulation.FireEvent;

public class sprg7 {
public static void main(String[] args) {
	WebDriver driver= new FirefoxDriver();
	//driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
	
	driver.get("file:///C:/Users/anand/Desktop/tst.html");
	driver.findElement(By.name("chk")).click();
	boolean b= driver.findElement(By.name("chk")).isSelected();
	System.out.println(b);
	

}
}
